/***************************************************************************
 *   Copyright (C) 2004, 2005 by tonton                                    *
 *   tontonNOSPAM@team1664.org                                             *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

#ifndef BMPS_H
#define BMPS_H

#include "internal.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @file bmps.h
 * @author tonton1664
 * @date 2005
 * @brief Functions to display bitmaps
 */


/**
 * Display a big picture.
 * Dimensions must be > 128x64
 * @brief Display a picture
 * @param bmp the picture to display
 * @param width the width of the picture (in pixels)
 * @param height the height of the picture (in pixels)
 * @param segm video segment used to display the picture
 */
extern void __CLIB aff_bmp (FARPTR bmp, unsigned short width, unsigned short height, unsigned short segm);

/**
 * Display a big picture in graphic mode DB (grey).
 * Dimensions must be > 128x64
 * @brief Display a picture in mode DB
 * @param bmp the picture to display
 * @param width the width of the picture (in pixels)
 * @param height the height of the picture (in pixels)
 * @param segm video segment used to display the picture
 */
extern void __CLIB aff_bmp_db (FARPTR bmp, unsigned short width, unsigned short height, unsigned short segm);

#ifdef __cplusplus
};
#endif

#endif